package com.example.tests;

import org.testng.annotations.Test;
import com.example.utils.ListOf;
import static org.junit.Assert.*;

public class PrintPhonesTests extends TestBase{
	
	@Test
	public void testAccordanceWithMainPageInfo() throws Exception {		
		// get main page info
		ListOf<ContactData> homeList = app.getContactHelper().getHomePageContactsInfo();
		
		// get print phones page info
		ListOf<ContactData> printList = app.getContactHelper().getPrintPhonesContactsInfo();

		// accordance check
		assertEquals(homeList, printList);
	}
	
}
